﻿namespace KingerRobot.MexicoSailunWMS.Spi;

public interface ILineManagerServiceV2
{
    /// <summary>
    /// 刷新从线体读取的节点，（添加/修改）
    /// </summary>
    /// <returns></returns>
    int FlushScadaBoxTasks(ScadaBoxTaskParamV2 param);
}

/// <summary>
/// ScadaboxTasks条件
/// </summary>
public class ScadaBoxTaskParamV2
{
    /// <summary>
    /// 流水号
    /// </summary>
    public int? TaskNo { get; set; }

    /// <summary>
    /// 目标
    /// </summary>
    public int? Target { get; set; }

    /// <summary>
    /// 喷涂
    /// </summary>
    public int? Paint { get; set; }

    /// <summary>
    /// 角度
    /// </summary>
    public int? Angle { get; set; }

    /// <summary>
    /// 翻转
    /// </summary>
    public int? OverTurn { get; set; }

    /// <summary>
    /// 外径
    /// </summary>
    public int? Size { get; set; }

    /// <summary>
    /// 产品编号
    /// </summary>
    public string LineCode { get; set; }
}

